package com.ims.form.FinancialAssistance.studentloaninfo;

import com.ims.entity.StudentLoanEntity;

public class StudentLoanForm {
    private String major;
    private String name;
    private String _class;
    private String number;
    private String time;
    private String remark;
    private Integer amount;
    private Integer sum;

    public StudentLoanForm(StudentLoanEntity sl) {
        this.major = sl.getStudent().getMajor();
        this.name = sl.getStudent().getStu_name();
        this._class = sl.getStudent().getStuclass();
        this.number = sl.getStudent().getStuid();
        this.time = sl.getTime();
        this.remark = sl.getNote();
        this.amount = sl.getAmount();
        this.sum = sl.getSum();
    }

    public String getMajor() {
        return major;
    }

    public String getName() {
        return name;
    }

    public String get_class() {
        return _class;
    }

    public String getNumber() {
        return number;
    }

    public String getTime() {
        return time;
    }

    public String getRemark() {
        return remark;
    }

    public Integer getAmount() {
        return amount;
    }

    public Integer getSum() {
        return sum;
    }
}
